package com.ponhu.ea2.enums;

/**
 * @author luyu
 * @create 2021-10-27 14:14
 */
public enum GoodsTypeEnum {

    MATERIAL_OBJECT(1, "实物"),
    SERVICE(2, "服务")
    ;

    private Integer code;

    private String name;

    GoodsTypeEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
